﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WebSys.UI.ZSPG_PGALQuery" %>

<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>住宅评估案例分析查询</title>
    <link rel="stylesheet" type="text/css" href="../../Themes/Default/Styles/basic.css" />
    <script type="text/javascript">
    function OpenModelWindow(id)
    {
        window.open("ZSPG_PGALDetail.aspx?id="+id,"住宅评估案例详情","top=120,left=220,toolbar=no,status=no,width=600,height=500,scrollbars=yes");
    }
    function showchaxun()
    {
        if(document.getElementById("tr1").style.display=='block'){
            document.getElementById("tr1").style.display='none';
        }else if(document.getElementById("tr1").style.display=='none'){
            document.getElementById("tr1").style.display='block';
        }
        if(document.getElementById("tr2").style.display=='block'){
            document.getElementById("tr2").style.display='none';
        }else if(document.getElementById("tr2").style.display=='none'){
            document.getElementById("tr2").style.display='block';
        }
        if(document.getElementById("tr3").style.display=='block'){
            document.getElementById("tr3").style.display='none';
        }else if(document.getElementById("tr3").style.display=='none'){
            document.getElementById("tr3").style.display='block';
        }
        if(document.getElementById("tr4").style.display=='block'){
            document.getElementById("tr4").style.display='none';
        }else if(document.getElementById("tr4").style.display=='none'){
            document.getElementById("tr4").style.display='block';
        }
        if(document.getElementById("tr5").style.display=='block'){
            document.getElementById("tr5").style.display='none';
        }else if(document.getElementById("tr5").style.display=='none'){
            document.getElementById("tr5").style.display='block';
        }
        if(document.getElementById("tr6").style.display=='block'){
            document.getElementById("tr6").style.display='none';
        }else if(document.getElementById("tr6").style.display=='none'){
            document.getElementById("tr6").style.display='block';
        }
        if(document.getElementById("tr7").style.display=='block'){
            document.getElementById("tr7").style.display='none';
        }else if(document.getElementById("tr7").style.display=='none'){
            document.getElementById("tr7").style.display='block';
        }
        if(document.getElementById("Button1").value=="展开更多"){
            document.getElementById("Button1").value="隐藏更多";
        }else if(document.getElementById("Button1").value=="隐藏更多"){
            document.getElementById("Button1").value="展开更多";
        }
    }
    function disspan1(){
        document.getElementById("span1").style.display='none';
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(../../Themes/Default/images/menuthb.png);
        margin-top: 1px">
        <tr>
            <td valign="middle" height="30">
                <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                    color: black; text-indent: 1em;" runat="server">住宅评估案例分析查询 </font>
            </td>
        </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" style="text-align: center; width: 100%"
        class="window_tab_list">
        <tr style="height: 30px;">
            <td style="text-align: right">
                区属：
            </td>
            <td style="text-align: left">
                <asp:DropDownList ID="txtdistrict" runat="server">
                </asp:DropDownList>
            </td>
            <td style="text-align: right;">
                房屋坐落：
            </td>
            <td style="text-align: left; width:200px" colspan="3">
                <asp:TextBox ID="txtlocation" runat="server" Width="100%"></asp:TextBox>
            </td>
        </tr>
        <tr id="tr1" style="height: 30px; display: none;">
            <td style="text-align: right" rowspan="2">
                建筑面积：
            </td>
            <td style="text-align: left">
                从<asp:TextBox ID="txtbuildareastart" runat="server"></asp:TextBox>M<sup>2</sup>
            </td>
            <td style="text-align: right" rowspan="2">
                交易日期：
            </td>
            <td style="text-align: left">
                从<CBW:MPCalendar ID="txtdatestart" runat="server" Width="80px" />
            </td>
        </tr>
        <tr id="tr2" style="height: 30px; display: none;">
            <td style="text-align: left">
                到<asp:TextBox ID="txtbuildareaend" runat="server"></asp:TextBox>M<sup>2</sup>
            </td>
            <td style="text-align: left">
                到<CBW:MPCalendar ID="txtdateend" runat="server" Width="80px" />
            </td>
        </tr>
        <tr id="tr3" style="height: 30px; display: none;">
            <td style="text-align: right" rowspan="2">
                申报交易单价：
            </td>
            <td style="text-align: left">
                从<asp:TextBox ID="txtmoneystart" runat="server"></asp:TextBox>元
            </td>
            <td style="text-align: right" rowspan="2">
                申报交易总额：
            </td>
            <td style="text-align: left">
                从<asp:TextBox ID="txtallmoneystart" runat="server"></asp:TextBox>元
            </td>
        </tr>
        <tr id="tr4" style="height: 30px; display: none;">
            <td style="text-align: left">
                到<asp:TextBox ID="txtmoneyend" runat="server"></asp:TextBox>元
            </td>
            <td style="text-align: left">
                到<asp:TextBox ID="txtallmoneyend" runat="server"></asp:TextBox>元
            </td>
        </tr>
        <tr id="tr5" style="height: 30px; display: none;">
            <td style="text-align: right">
                丘号：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txthillno" runat="server"></asp:TextBox>
            </td>
            <td style="text-align: right">
                权号：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtrightno" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr id="tr6" style="height: 30px; display: none;">
            <td style="text-align: right">
                产别：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtcb" runat="server"></asp:TextBox>
            </td>
            <td style="text-align: right">
                转让类别：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtzrlb" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr id="tr7" style="height: 30px; display: none;">
            <td style="text-align: right">
                交易类型：
            </td>
            <td style="text-align: left">
                <asp:DropDownList ID="txtjylx" runat="server">
                </asp:DropDownList>
            </td>
            <td style="text-align: right">
                交易类别：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtjylb" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td colspan="4" style="width: 100%">
                <asp:Button ID="btnQuery" runat="server" CssClass="input" Text="查询" OnClick="btnQuery_Click" />&nbsp;
                <input id="Button1" type="button" value="展开更多" onclick="showchaxun()" />&nbsp;
                <input id="Button2" type="button" value="重置" onclick="javascript:window.location.href=('ZSPG_PGALQuery.aspx');" />
            </td>
        </tr>
        <tr style="display: none">
            <td style="text-align: right">
                级别：
            </td>
            <td style="text-align: left">
                <asp:DropDownList ID="txtjb" runat="server">
                </asp:DropDownList>
            </td>
            <td style="text-align: right" style="display: none">
                是否成套：
            </td>
            <td style="text-align: left" style="display: none">
                <asp:DropDownList ID="txtsfct" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr style="display: none">
            <td style="text-align: right">
                拆迁区位级别：
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtcqqwjb" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr style="display: none">
            <td style="text-align: right">
                房屋用途：
            </td>
            <td colspan="3" style="text-align: left">
                <asp:DropDownList ID="ddlfwyt" runat="server">
                    <asp:ListItem Text="" Value=""></asp:ListItem>
                    <asp:ListItem Text="住宅" Value="住宅"></asp:ListItem>
                    <asp:ListItem Text="商业" Value="商业"></asp:ListItem>
                    <asp:ListItem Text="工业" Value="工业"></asp:ListItem>
                    <asp:ListItem Text="综合" Value="综合"></asp:ListItem>
                    <asp:ListItem Text="其他" Value="其他"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <center>
        <CBW:CustomGridView ID="CustomGridView1" runat="server" AllowOnMouseOverEvent="false" RowStyle-HorizontalAlign="Center"
            CssClass="window_tab_list" ShowHideColModel="None" HideColName="id" Width="100%"
            AutoGenerateDeleteConfirm="true" AutoGenerateColumns="true" CustomSortExpression=""
            DivFstClass-DivButtonClass="input" DivScdClass-DivButtonClass="input" DivTrdClass-DivButtonClass="input"
            AllowPaging="True" HideTextLength="18" ShowItemNumber="true" OnOnLoadData="CustomGridView1_OnLoadData"
            AllowSorting="false" OnRowCreated="CustomGridView1_RowCreated">
            <PagerSettings Visible="False" />
        </CBW:CustomGridView>
        <span id="span1" style='color:Red'>因数据量过大，每次查询展示数据量<=1000</span><br />
        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
    </center>
    </form>
</body>
</html>
